{extend name="index" /}
{block name="mainBar"}
<div class="mainBar">
    <!--two-->
    <div class="indbd">
        <div class="content">
            <h1 title="{$content.title}">{$content.title}</h1>
            <div class="descinfo">
                <div class="icon-th-list fl mR5"></div>
                <a id="mR15" href="{$cate.url}">{$cate.name}</a>
                <div class="icon-calendar fl mR5"></div>
                <span id="mR15">{$content.publishtime|date='Y-m-d H:i:s',###}</span>
                <div class=" icon-eye-open  fl mR5"></div>
                <span><tp:click /></span>
            </div>
            <div class="text">{$content.content}</div>
            <div class="tag">
                <if condition="$content['tag']">
                    <php>$tags = explode(',',$content['tag']);</php>
                    <volist name="tags" id="vo">
                        <a class="button3 white" href="{:U('tagname/'.$vo)}">{$vo}</a>
                    </volist>
                </if>
            </div>
            <div class="digg">

                <a href='javascript:vote({$content.id},1);' class="box button button-highlight">
                    <span>赞[<b id="vote_1">{$content.ding}</b>]</span>
                    <div class=" icon-thumbs-up icon-2x"></div>
                </a>
                <a href='javascript:vote({$content.id},2);' class="box button button-highlight">
                    <span>踩[<b id="vote_2">{$content.cai}</b>]</span>
                    <div class=" icon-thumbs-down icon-2x"></div>
                </a>
                <a href="javascript:collected({$content.id});" class="box button button-highlight" title="收藏">
                    <span>收藏[<b id="collect">{:get_collectnum($content['id'],$cate['modelid'])}</b>]</span>
                    <div class=" icon-heart-empty icon-2x love"></div>
                </a>

                <div class="box button button-rounded button-flat-highlight">
                    <!-- JiaThis Button BEGIN -->
                    <div class="jiathis_style_32x32">
                        <a class="jiathis_button_qzone"></a>
                        <a class="jiathis_button_tsina"></a>
                        <a class="jiathis_button_tqq"></a>
                        <a class="jiathis_button_weixin"></a>
                        <a class="jiathis_button_renren"></a>
                        <a href="http://www.jiathis.com/share" class="jiathis jiathis_txt jtico jtico_jiathis" target="_blank"></a>
                    </div>
                    <script type="text/javascript" src="http://v3.jiathis.com/code/jia.js" charset="utf-8"></script>
                    <!-- JiaThis Button END -->
                </div>
            </div>
            <div class="page">
                <p><strong>上一篇：</strong><tp:prev /></p>
                <p><strong>下一篇：</strong><tp:next /></p>
            </div>

        </div>
    </div>
</div>
{/block}
{block name="sideBar"}
<div class="sideBar">
    <div class="box title-box">
        <div class="title"><strong>热门标签</strong></div>
        <div class="content">
            <div class="taglist">
                <a href="/tagname-vps.html" title="vps">vps</a><a href="/tagname-主机.html" title="主机">主机</a><a href="/tagname-重定向.html" title="重定向">重定向</a><a href="/tagname-阿里云.html" title="阿里云">阿里云</a><a href="/tagname-virmach.html" title="virmach">virmach</a><a href="/tagname-重定向.html" title="重定向">重定向</a><a href="/tagname-virmach.html" title="virmach">virmach</a><a href="/tagname-重定向.html" title="重定向">重定向</a><a href="/tagname-阿里云.html" title="阿里云">阿里云</a><a href="/tagname-阿里云.html" title="阿里云">阿里云</a><a href="/tagname-后台框架.html" title="后台框架">后台框架</a><a href="/tagname-easyui.html" title="easyui">easyui</a><a href="/tagname-thinkphp3.2.3.html" title="thinkphp3.2.3">thinkphp3.2.3</a><a href="/tagname-IonSwitch.html" title="IonSwitch">IonSwitch</a><a href="/tagname-IonSwitch.html" title="IonSwitch">IonSwitch</a><a href="/tagname-香港vps.html" title="香港vps">香港vps</a><a href="/tagname-LOCVPS.html" title="LOCVPS">LOCVPS</a><a href="/tagname-香港云.html" title="香港云">香港云</a>                    </div>
        </div>
    </div>
    <!--AD-->
    <div class="box">
        <div class="title"><strong>热门标签</strong></div>
        <div class="content">
            <ul class="newsList">
                <li><a href="" title="">哈佛大学用这12张图，教育了10亿人</a></li>
                <li><a href="" title="">哈佛大学用这12张图，教育了10亿人</a></li>
            </ul>
        </div>
    </div>
    <div class="box">
        <div class="title"><strong>热门标签</strong></div>
        <div class="content">
            <ul class="newsList">
                <li><a href="" title="">哈佛大学用这12张图，教育了10亿人</a></li>
                <li><a href="" title="">哈佛大学用这12张图，教育了10亿人</a></li>
            </ul>
        </div>
    </div>
    <!--ADend-->
</div>
{/block}